﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace BDSim
{
    public class CalEleAziDLL
    {
        /// <summary>
        /// 计算卫星的高度角和方位角
        /// </summary>
        /// <param name="UseECFPos">用户位置（地固系）</param>
        /// <param name="SatECFPos">卫星位置（地固系）</param>
        /// <param name="Ele">高度角（度）</param>
        /// <param name="Azi">方位角（度）</param>
        [DllImport("CalEleAziDLL.dll", EntryPoint = "Cal_EleAzi", CallingConvention = CallingConvention.Cdecl)]
        public static extern void Cal_EleAzi(double[] UseECFPos,double[] SatECFPos ,ref double Ele,ref double Azi);
    }
}
